github.com/klauspost/compress/flate.fastGen.hist (field)
37 uses
github.com/klauspost/compress/flate (current package)
fast_encoder.go#L76: hist []byte
fast_encoder.go#L82: if len(e.hist)+len(src) > cap(e.hist) {
fast_encoder.go#L83: if cap(e.hist) == 0 {
fast_encoder.go#L84: e.hist = make([]byte, 0, allocHistory)
fast_encoder.go#L86: if cap(e.hist) < maxMatchOffset*2 {
fast_encoder.go#L90: offset := int32(len(e.hist)) - maxMatchOffset
fast_encoder.go#L92: *(*[maxMatchOffset]byte)(e.hist) = *(*[maxMatchOffset]byte)(e.hist[offset:])
fast_encoder.go#L94: e.hist = e.hist[:maxMatchOffset]
fast_encoder.go#L97: s := int32(len(e.hist))
fast_encoder.go#L98: e.hist = append(e.hist, src...)
fast_encoder.go#L184: if cap(e.hist) < allocHistory {
fast_encoder.go#L185: e.hist = make([]byte, 0, allocHistory)
fast_encoder.go#L190: e.cur += maxMatchOffset + int32(len(e.hist))
fast_encoder.go#L192: e.hist = e.hist[:0]
level1.go#L30: if len(e.hist) == 0 {
level1.go#L38: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level1.go#L63: src = e.hist
level2.go#L28: if len(e.hist) == 0 {
level2.go#L36: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level2.go#L61: src = e.hist
level3.go#L27: if len(e.hist) == 0 {
level3.go#L35: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level3.go#L64: src = e.hist
level4.go#L22: if len(e.hist) == 0 {
level4.go#L33: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level4.go#L67: src = e.hist
level5.go#L23: if len(e.hist) == 0 {
level5.go#L34: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level5.go#L74: src = e.hist
level6.go#L23: if len(e.hist) == 0 {
level6.go#L34: minOff := e.cur + int32(len(e.hist)) - maxMatchOffset
level6.go#L74: src = e.hist
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |